{include file="$AdminFullPath/skins/$DefaultSkin/header.tpl" title=foo}

<table width="100%">
  <tr>
    <td class="module_title" nowrap>
      <a href="index.php">{$SiteTitle}</a> &raquo; <a href="{$PHPSELF}?mod={$mod}">{$OrbitFAQTitle}</a> &raquo; Create Multiple Users
    </td>
  </tr>
</table>
<br />
Users will receive an email with details on how to activate their account<br /><br />

<table cellspacing="1" class="index_body">

  {if $Errors != ''}
  <tr>
    <td colspan="2">
      <table width="100%" class="message_tbl">
        <tr>
          <td style="vertical-align: bottom;" width="20">
            <img src="skins/{$DefaultSkin}/images/error.png">
          </td>
          <td class="message" nowrap>
            <b>We found some errors with your posting. Please solve the following:<br /></b>
            {$Errors}
          </td>
        </tr>
      </table>
    </td>
  </tr>
  {/if}

  <tr>
    <td>
      <form ACTION="{$PHPSELF}?mod={$mod}&action=createmany&posted=yes" METHOD="post" NAME="FORM_CREATE_FAQ">

      <table style="width: 400px">
        <tr>
          <td colspan="2" nowrap><br />
            <center>Email Addresses should be seperated a comma. <br />E.g. email@address.com,demo@address.com</center><br />
          </td>
        </tr>
        <tr>
          <td nowrap>
            Email Addresses:
          </td>
          <td nowrap>
            <TEXTAREA NAME="posted_login" COLS="30" ROWS="10" class="post postbig" WRAP="virtual">{$posted_login}</TEXTAREA><BR><BR>
          </td>
        </tr>

        <tr>
          <td nowrap valign="top">
            Allocated Groups:<br />
            All/None <input type="checkbox" onclick="selectAllOptions( this, 'posted_groups[]' )" />
          </td>
          <td nowrap>
              <select MULTIPLE size="5" name="posted_groups[]" class="post postbig">
                {section name=GroupPulldown loop=$GroupPulldown}
                <option value="{$GroupPulldown[GroupPulldown].group_id}" {$GroupPulldown[GroupPulldown].group_selected}>{$GroupPulldown[GroupPulldown].group_title}</option>
                {/section}
              </select>(optional)
           </td>
        </tr>

        <tr>
          <td colspan="2" nowrap><br /><br />
            <center><input class="button" type="submit" value="save" /></center>
          </td>
        </tr>
      </table>
      </form>

    </td>
  </tr>

</table>

{include file="$AdminFullPath/skins/$DefaultSkin/footer.tpl"}